using System;
using System.Collections.Generic;
using System.Text;

namespace CSDesktopUsiXMLRenderer
{
    class RendererFactory
    {

        public UsiXMLElementRenderer getFirstElementRenderer(
            UsiXMLInterfaceRenderer usiXMLInterfaceRenderer)
        {
            UsiXMLWindowRenderer renderer = new UsiXMLWindowRenderer();
            renderer.setInterfaceRenderer(usiXMLInterfaceRenderer);

            return renderer;
        }

        public UsiXMLLayoutManagerRenderer getFirstLayoutManagerRenderer(
            UsiXMLInterfaceRenderer usiXMLInterfaceRenderer)
        {
            UsiXMLFlowLayoutManager renderer = new UsiXMLFlowLayoutManager();
            renderer.setInterfaceRenderer(usiXMLInterfaceRenderer);

            return renderer;
        }

    }
}
